package com.lgl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lgl.dto.*;
import com.lgl.entity.ResponseResult;
import com.lgl.entity.User;
import com.lgl.vo.UserInfoVo;

public interface UserService extends IService<User> {

    ResponseResult getUserInfo();

    ResponseResult updateUserInfo(User user);

    ResponseResult register(User user);

    ResponseResult getUserList(Integer pageNum, Integer pageSize, GetUserDto getUserDto);

    ResponseResult addUser(AddUserDto addUserDto);

    ResponseResult deleteUser(Long id);

    ResponseResult getUser(Long id);

    ResponseResult updateUser(UpdateUserDto updateUserDto);

    ResponseResult changeStatus( UserDto userDto);

    ResponseResult updatepassword(UpdatePwdDTO updatePwdDTO);
}

